package edu.jmu.domain;

import java.io.Serializable;

public class Picture implements Serializable {
    private int pictureId;
    private int newsId;
    private String picturePath;

    public int getPictureId() {
        return pictureId;
    }

    public void setPictureId(int pictureId) {
        this.pictureId = pictureId;
    }

    public int getNewsId() {
        return newsId;
    }

    public void setNewsId(int newsId) {
        this.newsId = newsId;
    }

    public String getPicturePath() {
        return picturePath;
    }

    public void setPicturePath(String picturePath) {
        this.picturePath = picturePath;
    }

    @Override
    public String toString() {
        return "Picture{" + "pictureId=" + pictureId + ", newsId=" + newsId + ", picturePath='" + picturePath + '\'' + '}';
    }
}
